package com.example.administrator.mobile;

import android.app.AlertDialog;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class HmjdjgActivity extends AppCompatActivity {

    Button bt1;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_hmjdjg);

        bt1 = findViewById(R.id.btn_cx);

        new AlertDialog.Builder(this)
                .setTitle("该号码已拦截！")
                .setIcon(R.mipmap.ic_launcher)
                .setPositiveButton("确定",null)
                .show();
    }

    public void bt1(View view) {
        Intent intent = new Intent(this,HmjdActivity.class);
        startActivity(intent);
    }
}
